package com.ljf.tijian.dto;

import org.springframework.stereotype.Component;

/**
 * 对应选择日期接口调用时前端传来的数据类型
 */
public class CalendarRequestDto {

    private Integer year;
    private Integer month;
    private Integer hpId;

    public Integer getYear() {
        return year;
    }

    public CalendarRequestDto(Integer year) {
        this.year = year;
    }

    public CalendarRequestDto(Integer year, Integer month, Integer hpId) {
        this.year = year;
        this.month = month;
        this.hpId = hpId;
    }

    public CalendarRequestDto() {
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getHpId() {
        return hpId;
    }

    public void setHpId(Integer hpId) {
        this.hpId = hpId;
    }
}
